difference between local and global variables in c